53dceedfff63755cbcd7ab32d36fec56c8995aa2,app/src/main/java/knf/animeflv/newMain.java,newMain,setUpAmoled,#,631
Before Change
}
private void setUpAmoled() {
if (PreferenceManager.getDefaultSharedPreferences(this).getBoolean("is_amoled", false)) {
toolbar.setBackgroundColor(getResources().getColor(R.color.negro));
toolbar.getRootView().setBackgroundColor(getResources().getColor(R.color.negro));
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
After Change
getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
}
if (ThemeUtils.isAmoled(this)) {
isAmoled = true;
toolbar.setBackgroundColor(getResources().getColor(R.color.negro));
if (!isXLargeScreen()) {
toolbar.getRootView().setBackgroundColor(getResources().getColor(R.color.negro));
} else {
findViewById(R.id.frame).setBackgroundColor(ColorsRes.Negro(this));
toolbar.getRootView().setBackgroundColor(ColorsRes.Prim(this));
findViewById(R.id.cardMain).setBackgroundColor(ColorsRes.Negro(this));
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {